//
// Decompiled with: Decompiler.NET, Version=1.3.1.18439, Culture=neutral, PublicKeyToken=null, Version: 1.3.1.18439
// Decompilation Started at: 3/15/2009 10:34:26 PM
// Copyright 2003 - 2004, Jungle Creatures, Inc., All Rights Reserved. 
// Written by Jonathan Pierce, Email: support@junglecreatures.com
//

namespace PatientManagement

{
		
		#region Namespace Import Declarations
		
			using System.ComponentModel;
			using System.Drawing;
			using System;
			using System.Threading;
			using System.Windows.Forms;
			
		#endregion
		
	public class SplashScreen : Form
	
	{
		
		#region Fields
			private bool blEnd;
			private IContainer components;
			private Label lblBackColor;
			private Label lblLoad;
			private Label lblStatus;
		#endregion
		
		#region Constructors
		
			public SplashScreen ()
			
			{
				this.blEnd = false;
				this.components = ((IContainer) null);
				this.InitializeComponent ();
				return;
			}
			
		#endregion
		
		#region Methods
		
			public void BeginDisplay ()
			
			{
				int i;
				i = 0;
				goto L_0092;
				
			L_0007:
				
				{
				}
				base.TopMost = true;
				this.lblStatus.Refresh ();
				this.lblBackColor.Refresh ();
				this.lblLoad.Width = i;
				this.lblLoad.Refresh ();
				Thread.Sleep (119);
				if (i != 302)
				{
					goto L_004C;
				}
				i = 0;
				
			L_004C:
				
				{
				}
				if (! this.blEnd)
				{
					goto L_008E;
				}
				base.TopMost = true;
				this.lblStatus.Refresh ();
				this.lblBackColor.Refresh ();
				this.lblLoad.Width = 302;
				this.lblLoad.Refresh ();
				goto L_009D;
				
			L_008E:
				
				{
				}
				i++;
				
			L_0092:
				
				{
				}
				if (i < 303)
				{
					goto L_0007;
				}
				
			L_009D:
				return;
			}
			
			protected override void Dispose (bool disposing)
			
			{
				this.blEnd = false;
				if (! disposing)
				{
					goto L_001D;
				}
				if (this.components == null)
				{
					goto L_001D;
				}
				this.components.Dispose ();
				
			L_001D:
				
				{
				}
				base.Dispose (disposing);
				return;
			}
			
			public void EndDisplay ()
			
			{
				this.blEnd = true;
				return;
			}
			
			private void InitializeComponent ()
			
			{
				Control[] theControlArray;
				this.lblStatus = new Label ();
				this.lblBackColor = new Label ();
				this.lblLoad = new Label ();
				base.SuspendLayout ();
				this.lblStatus.BackColor = Color.Transparent;
				this.lblStatus.Font = new System.Drawing.Font ("Tahoma", 9.75F, FontStyle.Bold, GraphicsUnit.Point, ((byte) byte.MinValue));
				this.lblStatus.ForeColor = Color.Blue;
				this.lblStatus.Location = new Point (23, 16);
				this.lblStatus.Name = "lblStatus";
				this.lblStatus.Size = new System.Drawing.Size (290, 16);
				this.lblStatus.TabIndex = 0;
				this.lblStatus.Text = "?ang x? l? th?ng tin...";
				this.lblStatus.TextAlign = ContentAlignment.MiddleCenter;
				this.lblBackColor.BackColor = SystemColors.Window;
				this.lblBackColor.BorderStyle = BorderStyle.Fixed3D;
				this.lblBackColor.Location = new Point (15, 48);
				this.lblBackColor.Name = "lblBackColor";
				this.lblBackColor.Size = new System.Drawing.Size (305, 23);
				this.lblBackColor.TabIndex = 1;
				this.lblLoad.BackColor = Color.LimeGreen;
				this.lblLoad.Location = new Point (17, 50);
				this.lblLoad.Name = "lblLoad";
				this.lblLoad.Size = new System.Drawing.Size (0, 20);
				this.lblLoad.TabIndex = 2;
				this.AutoScaleBaseSize = new System.Drawing.Size (5, 13);
				this.BackColor = Color.DeepSkyBlue;
				base.ClientSize = new System.Drawing.Size (334, 66);
				base.ControlBox = false;
				theControlArray = new Control[3];
				theControlArray[0] = ((Control) this.lblLoad);
				theControlArray[1] = ((Control) this.lblBackColor);
				theControlArray[2] = ((Control) this.lblStatus);
				base.Controls.AddRange (theControlArray);
				base.FormBorderStyle = System.Windows.Forms.FormBorderStyle.FixedDialog;
				base.Location = new Point (100, 100);
				base.MaximizeBox = false;
				base.MinimizeBox = false;
				base.Name = "SplashScreen";
				base.ShowInTaskbar = false;
				base.StartPosition = FormStartPosition.CenterScreen;
				base.ResumeLayout (false);
				return;
			}
			
		#endregion
	}
	
}

